﻿using System;
namespace Microsoft.Data.OData.Query.Metadata
{
    /// <summary>
    /// In-memory annotation class to associate CLR instance types with 
    /// (non-primitive) EDM types.
    /// </summary>
    internal sealed class ODataQueryEdmTypeAnnotation
    {
        /// <summary>
        /// true if reflection over the instance type is supported; otherwise false.
        /// </summary>
        public bool CanReflectOnInstanceType
        {
            get;
            set;
        }
        /// <summary>
        /// The instance type represented by this annotation.
        /// </summary>
        public Type InstanceType
        {
            get;
            set;
        }
    }
}
